projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af200fe
)
Fix leak when parsing image urls
author
Alexander Larsson
<alexl@redhat.com>
Mon, 6 Feb 2012 14:06:29 +0000
(15:06 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Mon, 6 Feb 2012 14:06:29 +0000
(15:06 +0100)
gtk/gtkcssimageurl.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssimageurl.c
b/gtk/gtkcssimageurl.c
index 3e61432e5af5f187504d31b02818d47360b5ecb6..51505c5c77b30403deecba3a0cb9ef27e18bfe94 100644
(file)
--- a/
gtk/gtkcssimageurl.c
+++ b/
gtk/gtkcssimageurl.c
@@
-97,11
+97,11
@@
gtk_css_image_url_parse (GtkCssImage *image,
_gtk_css_parser_take_error (parser, error);
return FALSE;
}
- g_object_unref (file);
pixbuf = gdk_pixbuf_new_from_stream (G_INPUT_STREAM (input), NULL, &error);
g_object_unref (input);
}
+ g_object_unref (file);
if (pixbuf == NULL)
{